package com.kpx.app.bean;

import java.io.Serializable;
import java.util.List;

/**
 * Created by congdy on 17/4/16.
 */

public class OrderDetailBean implements Serializable {

    /**
     * address : 广东省深圳市宝安区ghjj
     * commission : 40
     * completeTime : 1492344939000
     * ctime : 1492344799605
     * dateStr : 2017-04-16
     * deliveryTime : 1492344939000
     * deposit : 400
     * dmId : 2139603894436864
     * orderStatus : 30
     * payStatus : 1
     * phone : 18826515015
     * photosList : [{"batchNumber":20170416164327,"dmId":2139397575181312,"imgNum":1,"imgs":"http://ozzptestimage1.oss-cn-shenzhen.aliyuncs.com//201704/16/2103021484934144cbd4f108d6a24e36922116fa3162da829391.jpeg","orderId":2138405945181184,"status":1,"taskId":2138002484708352},{"batchNumber":20170416164431,"dmId":2139398632080384,"imgNum":1,"imgs":"http://ozzptestimage1.oss-cn-shenzhen.aliyuncs.com//201704/16/2103021484934144fedc88f120934dc9a4540e1ee87ea7b02358.jpeg","orderId":2138405945181184,"status":1,"taskId":2138002484708352},{"batchNumber":20170416164518,"dmId":2139399394690048,"imgNum":1,"imgs":"http://ozzptestimage1.oss-cn-shenzhen.aliyuncs.com//201704/16/21030214849341449889ebe3a3ad4996844b6c979a1945e48730.jpeg","orderId":2138405945181184,"status":1,"taskId":2138002484708352},{"batchNumber":20170416164519,"dmId":2139399412024320,"imgNum":1,"imgs":"http://ozzptestimage1.oss-cn-shenzhen.aliyuncs.com//201704/16/2103021484934144372ea98c764a40569a443c10b91a8df67489.jpeg","orderId":2138405945181184,"status":1,"taskId":2138002484708352},{"batchNumber":20170416175502,"dmId":2139467951817728,"imgNum":1,"imgs":"http://ozzptestimage1.oss-cn-shenzhen.aliyuncs.com//201704/16/21030214849341443d4bdecd9c7e4b488333da72b63aa9d22204.jpeg","orderId":2138405945181184,"status":1,"taskId":2138002484708352},{"batchNumber":20170416190049,"dmId":2139532617614336,"imgNum":1,"imgs":"http://ozzptestimage1.oss-cn-shenzhen.aliyuncs.com//201704/16/21030214849341443c08041ecf4b4c95ab0670001ecc37be4646.jpeg","orderId":2138405945181184,"status":1,"taskId":2138002484708352},{"batchNumber":20170416190049,"dmId":2139532622922752,"imgNum":1,"imgs":"http://ozzptestimage1.oss-cn-shenzhen.aliyuncs.com//201704/16/21030214849341443c08041ecf4b4c95ab0670001ecc37be4646.jpeg","orderId":2138405945181184,"status":1,"taskId":2138002484708352},{"batchNumber":20170416190053,"dmId":2139532692014080,"imgNum":1,"imgs":"http://ozzptestimage1.oss-cn-shenzhen.aliyuncs.com//201704/16/2103021484934144dfd5622b17ab470b8dca379d72ecf9d97884.jpeg","orderId":2138405945181184,"status":1,"taskId":2138002484708352},{"batchNumber":20170416190811,"dmId":2139539864388608,"imgNum":1,"imgs":"http://ozzptestimage1.oss-cn-shenzhen.aliyuncs.com//201704/16/210302148493414406a069b183c140d69f28f7466b81cb58408.jpeg","orderId":2138405945181184,"status":1,"taskId":2138002484708352},{"batchNumber":20170416190811,"dmId":2139539868124160,"imgNum":1,"imgs":"http://ozzptestimage1.oss-cn-shenzhen.aliyuncs.com//201704/16/210302148493414406a069b183c140d69f28f7466b81cb58408.jpeg","orderId":2138405945181184,"status":1,"taskId":2138002484708352},{"batchNumber":20170416190833,"dmId":2139540221854720,"imgNum":1,"imgs":"http://ozzptestimage1.oss-cn-shenzhen.aliyuncs.com//201704/16/2103021484934144f5c5bd2dba964e48b27ed527ee5931384293.jpeg","orderId":2138405945181184,"status":1,"taskId":2138002484708352},{"batchNumber":20170416190833,"dmId":2139540221985792,"imgNum":1,"imgs":"http://ozzptestimage1.oss-cn-shenzhen.aliyuncs.com//201704/16/2103021484934144c9978c40453948b4964ef0ce06fc15c31104.jpeg","orderId":2138405945181184,"status":1,"taskId":2138002484708352},{"batchNumber":20170416190833,"dmId":2139540222231552,"imgNum":1,"imgs":"http://ozzptestimage1.oss-cn-shenzhen.aliyuncs.com//201704/16/2103021484934144f5c5bd2dba964e48b27ed527ee5931384293.jpeg","orderId":2138405945181184,"status":1,"taskId":2138002484708352},{"batchNumber":20170416190833,"dmId":2139540222411776,"imgNum":1,"imgs":"http://ozzptestimage1.oss-cn-shenzhen.aliyuncs.com//201704/16/2103021484934144c9978c40453948b4964ef0ce06fc15c31104.jpeg","orderId":2138405945181184,"status":1,"taskId":2138002484708352},{"batchNumber":20170416190833,"dmId":2139540226098176,"imgNum":1,"imgs":"http://ozzptestimage1.oss-cn-shenzhen.aliyuncs.com//201704/16/210302148493414468761de6f4f24768b30287f2c2f769658720.jpeg","orderId":2138405945181184,"status":1,"taskId":2138002484708352},{"batchNumber":20170416190833,"dmId":2139540226130944,"imgNum":1,"imgs":"http://ozzptestimage1.oss-cn-shenzhen.aliyuncs.com//201704/16/210302148493414468761de6f4f24768b30287f2c2f769658720.jpeg","orderId":2138405945181184,"status":1,"taskId":2138002484708352},{"batchNumber":20170416192056,"dmId":2139552394888192,"imgNum":1,"imgs":"http://ozzptestimage1.oss-cn-shenzhen.aliyuncs.com//201704/16/21030214849341447b4cbd13415149b5a48a548fd7958b44329.jpeg","orderId":2138405945181184,"status":1,"taskId":2138002484708352},{"batchNumber":20170416192056,"dmId":2139552399541248,"imgNum":1,"imgs":"http://ozzptestimage1.oss-cn-shenzhen.aliyuncs.com//201704/16/21030214849341447b4cbd13415149b5a48a548fd7958b44329.jpeg","orderId":2138405945181184,"status":1,"taskId":2138002484708352},{"batchNumber":20170416192103,"dmId":2139552506446848,"imgNum":1,"imgs":"http://ozzptestimage1.oss-cn-shenzhen.aliyuncs.com//201704/16/2103021484934144cf84a7bd317548c49f491348b8ecfea65970.jpeg","orderId":2138405945181184,"status":1,"taskId":2138002484708352},{"batchNumber":20170416192124,"dmId":2139552859112448,"imgNum":1,"imgs":"http://ozzptestimage1.oss-cn-shenzhen.aliyuncs.com//201704/16/2103021484934144f6e65d534f4f4588ab46ee811381a4677453.jpeg","orderId":2138405945181184,"status":1,"taskId":2138002484708352},{"batchNumber":20170416192125,"dmId":2139552863634432,"imgNum":1,"imgs":"http://ozzptestimage1.oss-cn-shenzhen.aliyuncs.com//201704/16/2103021484934144c1aee1fe4b99444d9ad004954563f1481472.jpeg","orderId":2138405945181184,"status":1,"taskId":2138002484708352},{"batchNumber":20170416192125,"dmId":2139552863765504,"imgNum":1,"imgs":"http://ozzptestimage1.oss-cn-shenzhen.aliyuncs.com//201704/16/2103021484934144f6e65d534f4f4588ab46ee811381a4677453.jpeg","orderId":2138405945181184,"status":1,"taskId":2138002484708352},{"batchNumber":20170416192125,"dmId":2139552863798272,"imgNum":1,"imgs":"http://ozzptestimage1.oss-cn-shenzhen.aliyuncs.com//201704/16/2103021484934144e9d71584b6044d7a91ca60e433dc3ca44011.jpeg","orderId":2138405945181184,"status":1,"taskId":2138002484708352}]
     * postage : 10
     * pushTypeName : 任务广场
     * receiver : yy
     * requirementTxt : what the fuck
     * sellerId : 2129967378629632
     * sellerShopId : 2138002083546112
     * serialNo : 201704162014001
     * taskGoods : {"ctime":1492247105629,"dmId":2138003272516608,"goodsCategory":2017040318301120,"goodsMasterPics":"http://ozzptestimage1.oss-cn-shenzhen.aliyuncs.com/201704/15/e2e5b9117c7440b2b8da95540aaa2736.png","goodsName":"京巴男装","goodsUrl":"www.leibee.cn/goods/1002020","taskId":2138002484708352}
     * taskId : 2138002484708352
     * thirdAccount : 么么
     * userId : 2103021484934144
     *   "maxPhotosNum": 30,
     "minPhotosNum": 1,
     "modelAppraise": 0,
     "modelCommission": 34,
     "nowPhotosNum": 0,
     */

    private String address;
    private int maxPhotosNum;
    private int nowPhotosNum;
    private int minPhotosNum;
    private int commission;
    private long completeTime;
    private long ctime;
    private String dateStr;
    private long deliveryTime;
    private int deposit;
    private int orderType;
    private long dmId;
    private int orderStatus;
    private int payStatus;
    private String phone;
    private int postage;
    private String pushTypeName;
    private String receiver;
    private String refundAddress;
    private String requirementTxt;
    private long sellerId;
    private long sellerShopId;
    private String serialNo;
    private TaskGoodsBean taskGoods;
    private long taskId;
    private String thirdAccount;
    private String taskTips;
    private String remark;
    private long userId;
    private List<PhotosListBean> photosList;
    private List<OrderlogListBean> orderlogList;
    private String brushRequirement;
    private String postageString;
    private String brushWorkflowPic;
    private String sellerName;
    /** (物流公司) */
    private String logistics;
    /** (物流单号) */
    private String logisticsNum;
    private String sellerRequire; // 商家对模特的收评要求
    private String sellerRequireWarn; // 商家对模特的收评要求警告语
    private String taokoulingStr;//淘口令
    private String thridPlatSearchKey;
    /** 商家对模特的收评图片列表 */
    private List<OrderModelPhoto> sellerRequirePhotosList;

    public String getTaokoulingStr() {
        return taokoulingStr;
    }

    public void setTaokoulingStr(String taokoulingStr) {
        this.taokoulingStr = taokoulingStr;
    }

    public String getThridPlatSearchKey() {
        return thridPlatSearchKey;
    }

    public void setThridPlatSearchKey(String thridPlatSearchKey) {
        this.thridPlatSearchKey = thridPlatSearchKey;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getLogistics() {
        return logistics;
    }

    public void setLogistics(String logistics) {
        this.logistics = logistics;
    }

    public String getLogisticsNum() {
        return logisticsNum;
    }

    public void setLogisticsNum(String logisticsNum) {
        this.logisticsNum = logisticsNum;
    }

    public int getMaxPhotosNum() {
        return maxPhotosNum;
    }

    public void setMaxPhotosNum(int maxPhotosNum) {
        this.maxPhotosNum = maxPhotosNum;
    }

    public int getNowPhotosNum() {
        return nowPhotosNum;
    }

    public void setNowPhotosNum(int nowPhotosNum) {
        this.nowPhotosNum = nowPhotosNum;
    }

    public int getMinPhotosNum() {
        return minPhotosNum;
    }

    public void setMinPhotosNum(int minPhotosNum) {
        this.minPhotosNum = minPhotosNum;
    }

    public String getTaskTips() {
        return taskTips;
    }

    public void setTaskTips(String taskTips) {
        this.taskTips = taskTips;
    }

    public String getSellerRequire() {
        return sellerRequire;
    }

    public void setSellerRequire(String sellerRequire) {
        this.sellerRequire = sellerRequire;
    }

    public String getSellerRequireWarn() {
        return sellerRequireWarn;
    }

    public void setSellerRequireWarn(String sellerRequireWarn) {
        this.sellerRequireWarn = sellerRequireWarn;
    }

    public List<OrderModelPhoto> getSellerRequirePhotosList() {
        return sellerRequirePhotosList;
    }

    public void setSellerRequirePhotosList(List<OrderModelPhoto> sellerRequirePhotosList) {
        this.sellerRequirePhotosList = sellerRequirePhotosList;
    }

    public String getSellerName() {
        return sellerName;
    }

    public void setSellerName(String sellerName) {
        this.sellerName = sellerName;
    }

    public String getBrushRequirement() {
        return brushRequirement;
    }

    public void setBrushRequirement(String brushRequirement) {
        this.brushRequirement = brushRequirement;
    }

    public String getPostageString() {
        return postageString;
    }

    public void setPostageString(String postageString) {
        this.postageString = postageString;
    }

    public String getBrushWorkflowPic() {
        return brushWorkflowPic;
    }

    public void setBrushWorkflowPic(String brushWorkflowPic) {
        this.brushWorkflowPic = brushWorkflowPic;
    }

    public int getOrderType() {
        return orderType;
    }

    public void setOrderType(int orderType) {
        this.orderType = orderType;
    }

    public String getRefundAddress() {
        return refundAddress;
    }

    public void setRefundAddress(String refundAddress) {
        this.refundAddress = refundAddress;
    }

    /**
     * requirementMap : {"sex":0,"weight":0,"height":0,"age":0}
     */

    private RequirementMapBean requirementMap;

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public int getCommission() {
        return commission;
    }

    public void setCommission(int commission) {
        this.commission = commission;
    }

    public long getCompleteTime() {
        return completeTime;
    }

    public void setCompleteTime(long completeTime) {
        this.completeTime = completeTime;
    }

    public long getCtime() {
        return ctime;
    }

    public void setCtime(long ctime) {
        this.ctime = ctime;
    }

    public String getDateStr() {
        return dateStr;
    }

    public void setDateStr(String dateStr) {
        this.dateStr = dateStr;
    }

    public long getDeliveryTime() {
        return deliveryTime;
    }

    public void setDeliveryTime(long deliveryTime) {
        this.deliveryTime = deliveryTime;
    }

    public int getDeposit() {
        return deposit;
    }

    public void setDeposit(int deposit) {
        this.deposit = deposit;
    }

    public long getDmId() {
        return dmId;
    }

    public void setDmId(long dmId) {
        this.dmId = dmId;
    }

    public int getOrderStatus() {
        return orderStatus;
    }

    public void setOrderStatus(int orderStatus) {
        this.orderStatus = orderStatus;
    }

    public int getPayStatus() {
        return payStatus;
    }

    public void setPayStatus(int payStatus) {
        this.payStatus = payStatus;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public int getPostage() {
        return postage;
    }

    public void setPostage(int postage) {
        this.postage = postage;
    }

    public String getPushTypeName() {
        return pushTypeName;
    }

    public void setPushTypeName(String pushTypeName) {
        this.pushTypeName = pushTypeName;
    }

    public String getReceiver() {
        return receiver;
    }

    public void setReceiver(String receiver) {
        this.receiver = receiver;
    }

    public String getRequirementTxt() {
        return requirementTxt;
    }

    public void setRequirementTxt(String requirementTxt) {
        this.requirementTxt = requirementTxt;
    }

    public long getSellerId() {
        return sellerId;
    }

    public void setSellerId(long sellerId) {
        this.sellerId = sellerId;
    }

    public long getSellerShopId() {
        return sellerShopId;
    }

    public void setSellerShopId(long sellerShopId) {
        this.sellerShopId = sellerShopId;
    }

    public String getSerialNo() {
        return serialNo;
    }

    public void setSerialNo(String serialNo) {
        this.serialNo = serialNo;
    }

    public TaskGoodsBean getTaskGoods() {
        return taskGoods;
    }

    public void setTaskGoods(TaskGoodsBean taskGoods) {
        this.taskGoods = taskGoods;
    }

    public long getTaskId() {
        return taskId;
    }

    public void setTaskId(long taskId) {
        this.taskId = taskId;
    }

    public String getThirdAccount() {
        return thirdAccount;
    }

    public void setThirdAccount(String thirdAccount) {
        this.thirdAccount = thirdAccount;
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public List<PhotosListBean> getPhotosList() {
        return photosList;
    }

    public void setPhotosList(List<PhotosListBean> photosList) {
        this.photosList = photosList;
    }

    /**
     * address : 广东省深圳市宝安区ghjj
     * commission : 40
     * ctime : 1492248077980
     * dateStr : 2017-04-15
     * deposit : 400
     * dmId : 2138019203662848
     * orderStatus : 5
     * phone : 18826515015
     * postage : 10
     * receiver : yy
     * sellerId : 2129967378629632
     * sellerShopId : 2138002083546112
     * taskId : 2138002484708352
     * thirdAccount : 么么
     * userId : 2103021484934144
     */
    public OrderBean copy() {
        OrderBean b = new OrderBean();
        b.setDmId(dmId);
        b.setAddress(address);
        b.setCtime(ctime);
        b.setDateStr(dateStr);
        b.setDeposit(deposit);
        b.setOrderStatus(orderStatus);
        b.setPhone(phone);
        b.setPostage(postage);
        b.setReceiver(receiver);
        b.setSellerId(sellerId);
        b.setSellerShopId(sellerShopId);
        b.setTaskId(taskId);
        b.setThirdAccount(thirdAccount);
        b.setUserId(userId);
        b.setTaskGoods(taskGoods);
        b.setNowPhotosNum(nowPhotosNum);
        b.setMaxPhotosNum(maxPhotosNum);
        b.setMinPhotosNum(minPhotosNum);
        b.setRemark(remark);
        b.setLogistics(logistics);
        b.setLogisticsNum(logisticsNum);
        b.setTaokoulingStr(taokoulingStr);
        b.setThridPlatSearchKey(thridPlatSearchKey);
        return b;
    }

    public OrderBean copy(OrderBean b) {
        if (b == null) {
            b = new OrderBean();
        }
        b.setDmId(dmId);
        b.setAddress(address);
        b.setCtime(ctime);
        b.setDateStr(dateStr);
        b.setDeposit(deposit);
        b.setOrderStatus(orderStatus);
        b.setPhone(phone);
        b.setPostage(postage);
        b.setReceiver(receiver);
        b.setSellerId(sellerId);
        b.setSellerShopId(sellerShopId);
        b.setTaskId(taskId);
        b.setThirdAccount(thirdAccount);
        b.setUserId(userId);
        b.setTaskGoods(taskGoods);
        b.setNowPhotosNum(nowPhotosNum);
        b.setMaxPhotosNum(maxPhotosNum);
        b.setMinPhotosNum(minPhotosNum);
        b.setRemark(remark);
        b.setLogistics(logistics);
        b.setLogisticsNum(logisticsNum);
        b.setTaokoulingStr(taokoulingStr);
        b.setThridPlatSearchKey(thridPlatSearchKey);
        return b;
    }

    public List<OrderlogListBean> getOrderlogList() {
        return orderlogList;
    }

    public void setOrderlogList(List<OrderlogListBean> orderlogList) {
        this.orderlogList = orderlogList;
    }

    public RequirementMapBean getRequirementMap() {
        return requirementMap;
    }

    public void setRequirementMap(RequirementMapBean requirementMap) {
        this.requirementMap = requirementMap;
    }


    public static class PhotosListBean implements Serializable {
        /**
         * batchNumber : 20170416164327
         * dmId : 2139397575181312
         * imgNum : 1
         * imgs : http://ozzptestimage1.oss-cn-shenzhen.aliyuncs.com//201704/16/2103021484934144cbd4f108d6a24e36922116fa3162da829391.jpeg
         * orderId : 2138405945181184
         * status : 1
         * taskId : 2138002484708352
         */

        private long batchNumber;
        private long dmId;
        private int imgNum;
        private String imgs;
        private long orderId;
        private int status;
        private long taskId;

        public long getBatchNumber() {
            return batchNumber;
        }

        public void setBatchNumber(long batchNumber) {
            this.batchNumber = batchNumber;
        }

        public long getDmId() {
            return dmId;
        }

        public void setDmId(long dmId) {
            this.dmId = dmId;
        }

        public int getImgNum() {
            return imgNum;
        }

        public void setImgNum(int imgNum) {
            this.imgNum = imgNum;
        }

        public String getImgs() {
            return imgs;
        }

        public void setImgs(String imgs) {
            this.imgs = imgs;
        }

        public long getOrderId() {
            return orderId;
        }

        public void setOrderId(long orderId) {
            this.orderId = orderId;
        }

        public int getStatus() {
            return status;
        }

        public void setStatus(int status) {
            this.status = status;
        }

        public long getTaskId() {
            return taskId;
        }

        public void setTaskId(long taskId) {
            this.taskId = taskId;
        }
    }

    public static class OrderlogListBean implements Serializable {
        /**
         * ctime : 1493314797604
         * dmId : 2155496337835008
         * remark : 抢单成功
         * status : 5
         * taskId : 2155379775964160
         * taskOrderId : 2155496337818624
         * timeStr : 生成时间
         */

        private long ctime;
        private long dmId;
        private String remark;
        private int status;
        private long taskId;
        private long taskOrderId;
        private String timeStr;

        public long getCtime() {
            return ctime;
        }

        public void setCtime(long ctime) {
            this.ctime = ctime;
        }

        public long getDmId() {
            return dmId;
        }

        public void setDmId(long dmId) {
            this.dmId = dmId;
        }

        public long getTaskId() {
            return taskId;
        }

        public void setTaskId(long taskId) {
            this.taskId = taskId;
        }

        public String getRemark() {
            return remark;
        }

        public void setRemark(String remark) {
            this.remark = remark;
        }

        public int getStatus() {
            return status;
        }

        public void setStatus(int status) {
            this.status = status;
        }


        public long getTaskOrderId() {
            return taskOrderId;
        }

        public void setTaskOrderId(long taskOrderId) {
            this.taskOrderId = taskOrderId;
        }

        public String getTimeStr() {
            return timeStr;
        }

        public void setTimeStr(String timeStr) {
            this.timeStr = timeStr;
        }
    }

    public static class RequirementMapBean {
        /**
         * sex : 0
         * weight : 0
         * height : 0
         * age : 0
         */

        private int sex;
        private String weight;
        private String height;
        private String age;
        private String level;
        private String size;

        public String getLevel() {
            return level;
        }

        public void setLevel(String level) {
            this.level = level;
        }

        public String getSize() {
            return size;
        }

        public void setSize(String size) {
            this.size = size;
        }
        public int getSex() {
            return sex;
        }

        public void setSex(int sex) {
            this.sex = sex;
        }

        public String getWeight() {
            return weight;
        }

        public void setWeight(String weight) {
            this.weight = weight;
        }

        public String getHeight() {
            return height;
        }

        public void setHeight(String height) {
            this.height = height;
        }

        public String getAge() {
            return age;
        }

        public void setAge(String age) {
            this.age = age;
        }
    }
}
